package com.etbsms.dao;

import java.util.List;

import com.etbsms.domain.AgricultureAndFood;
import com.etbsms.domain.Users;
import com.etbsms.form.PageForm;
import com.etbsms.form.QueryAAFForm;
import com.etbsms.util.Constants.FLOW_TYPE;

public interface IAgricultureAndFoodDAO extends IGenericDAO<AgricultureAndFood, Integer>{

	public boolean save(AgricultureAndFood entity);
	public boolean update(AgricultureAndFood entity);
	public PageForm<AgricultureAndFood> getOwnForms(Users users,PageForm<AgricultureAndFood> form,boolean isAnalyzed);
//	public PageForm<AgricultureAndFood> getOwnChecker(Users users,PageForm<AgricultureAndFood> form);
	public AgricultureAndFood get(String rec_no);	
	public List<AgricultureAndFood> getAll(int flow,FLOW_TYPE type);	
	public QueryAAFForm query(QueryAAFForm form,FLOW_TYPE type);
	public QueryAAFForm recNo_query(QueryAAFForm form,FLOW_TYPE type);
	
	public void changeTemporary(Users users); 
	

	public List<Users> getInputUsers();
}